/**
 * @author       yuanzhy
 * @createTime   2019/04/15
 * @updateTime   2019/04/15
 * @description
 */
@import "../../../mixins/input/input-mixins.less";
@import '../../../config/config.less';
@import '../input/index.less';

//命名空间
@css-prefix-input-money: ~"@{css-prefix}input-money";

.input-money-error(~"@{css-prefix-form-item}");

.@{css-prefix-input-money} {
    // input style
    .input();
    width: auto;
    text-align: right;
    padding-right: 8px;
    //  input  wrap
    &-wrapper {
        display: inline-block;
        width: 100%;
        vertical-align: middle;
        line-height: normal;
        text-align: left;
    }
}

// inut 出错提示样式
.input-money-error(@class){
  .@{class}-error {
    .@{css-prefix-input-money}{
      .input-error();
      &-focused {
        .active-error();
      }
    }
  }
}

